<template>
  <view class="page-body">
    {{ desc }}
  </view>
</template>

<script>
export default {
  data() {
    return {
      desc: '',
    };
  },
  onLoad() {
    this.getDesc()
  },
  methods: {
    async getDesc() {
      const res = await this.$allrequest.user.article_detail({
        id: 'pt_rules',
      });
      this.desc = res.data.content;
    },
  },
};
</script>

<style lang="scss">
.page-body {
  background: #fff;
  min-height: 100vh;
  font-size: 30rpx;
  padding: 24rpx;
  padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
}
</style>
